applications of linear equations